package com.hsshy.beam.api;
import com.hsshy.beam.api.properties.TestProperties;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;
import springfox.documentation.swagger2.annotations.EnableSwagger2;
/**
 * @author hs
 */
@SpringBootApplication(scanBasePackages = {"com.hsshy.beam"})
@EnableSwagger2
@EnableScheduling
@EnableCaching
@EnableAsync
public class BeamApiApplication {

    @Autowired
    private TestProperties testProperties;

    public static void main(String[] args) {
        SpringApplication.run(BeamApiApplication.class, args);
    }
}
